import request from '@/utils/request'
// 定义环境变量
let env = 'dev';
let baseUrl;
if (env === 'dev') {
    baseUrl = 'http://localhost:3000'; 
} else {
    baseUrl = 'http://132.232.87.95:3003'; 
} 

// Category模块
export const fetchCategoryList = ()=> request.get(baseUrl+'/Category/all');
